package com.yjd.bi.promotion.model;

import com.yjd.comm.base.model.Model;

/**
 * <b>description</b>：奖品规则表模型<br>
 * <b>time</b>：2016-06-07 15:17:27 <br>
 * <b>author</b>：  chenpengfei@yijeidai.com
 */
public class SpreadRelationModel extends Model{

	/**
	* @Fields serialVersionUID
	*/
	private static final long serialVersionUID = 1L;
	
	 /*
	  *id 
	  */
	private java.lang.Long id;
	 /*
	  *推广用户ID 
	  */
	private java.lang.Integer spreader;
	 /*
	  *推广文案 
	  */
	private java.lang.Integer office_id;
	 /*
	  *注册用户 
	  */
	private java.lang.Integer register;
	 /*
	  *同1个推广员对不同的人可能会有多种奖励费率 
	  */
	private java.math.BigDecimal spread_rate;
	 /*
	  *层级 
	  */
	private java.lang.Integer incomeins;
	 /*
	  *推广类型 
	  */
	private Integer relation_type;
	 /*
	  *添加时间 
	  */
	private java.lang.Long addtime;

	public java.lang.Long getId() {
		return id;
	}

	public void setId(java.lang.Long id) {
		this.id = id;
	}
	public java.lang.Integer getSpreader() {
		return spreader;
	}

	public void setSpreader(java.lang.Integer spreader) {
		this.spreader = spreader;
	}
	public java.lang.Integer getOffice_id() {
		return office_id;
	}

	public void setOffice_id(java.lang.Integer office_id) {
		this.office_id = office_id;
	}
	public java.lang.Integer getRegister() {
		return register;
	}

	public void setRegister(java.lang.Integer register) {
		this.register = register;
	}
	public java.math.BigDecimal getSpread_rate() {
		return spread_rate;
	}

	public void setSpread_rate(java.math.BigDecimal spread_rate) {
		this.spread_rate = spread_rate;
	}
	public java.lang.Integer getIncomeins() {
		return incomeins;
	}

	public void setIncomeins(java.lang.Integer incomeins) {
		this.incomeins = incomeins;
	}
	public Integer getRelation_type() {
		return relation_type;
	}

	public void setRelation_type(Integer relation_type) {
		this.relation_type = relation_type;
	}
	public java.lang.Long getAddtime() {
		return addtime;
	}

	public void setAddtime(java.lang.Long addtime) {
		this.addtime = addtime;
	}

}
